* {
    margin: 0;
    padding: 0;
}

.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("../img/bg.jpg");
    background-size: 100% 100%;
}

.login > div {
    padding: 20px;
    border: 1px solid rebeccapurple;
    background-color: rgba(71, 104, 135, 0.5);
    border-radius: 45px;
}

.login > div > div:first-child {

    display: flex;
    justify-content: center;
}

.login > div > div:first-child > div:nth-child(2) {
    width: 50px;
    height: 50px;
}

.login > div > div:first-child > div:nth-child(2) > img {
    width: 100%;
    height: 100%;
}

/*---------------------------------------------*/
.login > div > div:nth-child(2) {
    margin-top: 50px;
}

.login > div > div:nth-child(2) > div {
    display: flex;
}

.login > div > div:nth-child(2) > div > div:nth-child(1) {
    display: inline-block;
    height: 100%;
    min-width: 80px;
    text-align: justify;
    text-align-last: justify;
    margin-right: 20px;
}

#code {
    width: 80px;
}

/*头像*/
.login > div > div:nth-child(2) > div:last-child {
    display: flex;
    justify-content: center;
    margin: 30px;

}

/*按钮*/
.login > div > div:nth-child(2) > div:last-child > input[type=button] {
    margin: 0 30px;
}
